import request from '@/utils/request'
// menu
export function reviewplanSave(parameter) {
    return request({
        url: '/inviteReview-service/sys/reviewplan'+  (parameter.planId?'/update':'/save'),
        method: 'post',
        data: parameter
    })
}
export function reviewplanList(params) {
    return request({
        url: '/inviteReview-service/sys/reviewplan/list',
        method: 'get',
        params: params
    })
}  
export function deleteReviewplan(params) {
    return request({
        url: '/inviteReview-service/sys/reviewplan/delete',
        method: 'get',
        params: params
    })
}  
export function selectTaskByPlan(params) {
    return request({
        url: '/inviteReview-service/sys/reviewtask/selectTaskByPlanId',
        method: 'get',
        params: params
    })
}  

export function reviewoperlogList(params) {
    return request({
        url: '/inviteReview-service/sys/reviewoperlog/getBytaskId',
        method: 'get',
        params: params
    })
}  

export function reviewplanCheck(params){
    return request({
        url: '/inviteReview-service/sys/reviewplan/check',
        method: 'get',
        params: params
    })
}